home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene Storm
/
Scene Storm - Volume 1.iso
/
coding
/
c
/
northc
/
northc1.lzh
/
include
/
stddef.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-08-30
|
433b
|
21 lines
/*
* STDDEF.H standard definitions
*/
#ifndef STDDEF_H
#define STDDEF_H
#ifndef NULL
#define NULL (0L)
#endif
typedef int size_t; /* sizeof() value type */
typedef long ptrdiff_t; /* pointer subtraction result type */
typedef int wchar_t; /* wide characters */
/* offset in bytes of 'membr' in structure 'typ' */
#define offsetof(T,m) \
((size_t) (((char *) &(((T *) 256)->m)) - ((char *) ((T *) 256))))
#endif STDDEF_H